const { http } = require('../../utils/request');

//  收藏 热门活动
exports.popularActivityCollect = async function(data = {}) {
	return await http.post('/wechat/popularActivity/collect', {
		data: data
	})
}

//  联谊会收藏
exports.friendshipAssociationCollect = async function(data = {}) {
	return await http.post('/wechat/friendshipAssociation/collect', {
		data: data
  })
}

//  联谊会 取消收藏
exports.friendshipAssociationCancelCollect = async function(data = {}) {
	return await http.post('/wechat/friendshipAssociation/cancelCollect', {
		data: data
  })
}

//  取消收藏 热门活动
exports.popularActivityCancelCollect = async function(data = {}) {
	return await http.post('/wechat/popularActivity/cancelCollect', {
		data: data
	})
}


//  人才政策 收藏
exports.talentPolicyCollect = async function(data = {}) {
	return await http.post('/wechat/talentPolicy/collect', {
		data: data
	})
}

//  人才政策 取消收藏
exports.talentPolicyCancelCollect = async function(data = {}) {
	return await http.post('/wechat/talentPolicy/cancelCollect', {
		data: data
	})
}

//  联谊会活动 收藏
exports.friendshipActivityCollect = async function(data = {}) {
	return await http.post('/wechat/friendshipActivity/collect', {
		data: data
	})
}

//  联谊会活动 取消收藏
exports.friendshipActivityCancelCollect = async function(data = {}) {
	return await http.post('/wechat/friendshipActivity/cancelCollect', {
		data: data
	})
}




//  热门活动收藏列表
exports.popularActivityCollectList = async function(data = {}) {
	return await http.post('/wechat/profile/popularActivityCollectList', {
		data: data
	})
}

//  人才政策收藏列表
exports.talentPolicyCollectList = async function(data = {}) {
	return await http.post('/wechat/profile/talentPolicyCollectList', {
		data: data
	})
}

//  联谊会收藏列表
exports.friendshipAssociationCollectList = async function(data = {}) {
	return await http.post('/wechat/profile/friendshipAssociationCollectList', {
		data: data
	})
}

//  联谊会活动收藏列表
exports.friendshipActivityCollectList = async function(data = {}) {
	return await http.post('/wechat/profile/friendshipActivityCollectList', {
		data: data
	})
}


//  判断是否收藏
exports.checkCollect = async function(data = {}) {
	return await http.post('/wechat/student/checkCollect', {
    data
  })
}